﻿using MediatR;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using S.Authorization.Common;
using S.Authorization.Domain.Model.Organization;


namespace S.Authorization.Read.API.Application.Command.OrganizationCommand
{
    /// <summary>
    /// 周文浩
    /// </summary>
    public class ColumnManagementListCommand : IRequest<Pager<ColumnManagementModel>>
    {
        /// <summary>
        /// 
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public int? BuildingTypes { get; set; }
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public string? BuildingName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? ResponsiblePerson { get; set; }

    }
    public class ColumnManagementById: IRequest<List<ColumnManagementModel>>
    {
        public int BuildingManagementId { get; set; }
    }
}
